<template>
    <div class="button">
        <button @click="commitMsg">{{label}}</button>
    </div>
</template>

<script>
    export default {
        props:['label'],
        methods:{
            commitMsg(){
                this.$emit('commitLogin')
            }
        }
        
    }
</script>

<style scoped>
    .button{
        padding: 4.167vw 2.778vw;
        margin-bottom: 3.226vw;

    }
    button{
        background-color: #ff9db5;
        border: none;
        color: white;
        border-radius: 6.25vw;
        height: 12.5vw;
        width: 100%;
    }

</style>